home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 July / 07_02.iso / software / xq-xsetup / files / setup.exe / {app} / plugins / XQ WinME Net Crawling.xpl < prev    next >
Text File  |  2002-04-12  |  1KB  |  40 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Appearance\Desktop\Icons\'My Network Places' Options"
  5. "OSVERSION"="00001"
  6. "NAME"="Windows ME Workgroup Crawling"
  7. "VERSION"="2.03"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Allow Net Crawling on Network Places"
  10. "DESCRIPTION 1"="By default, Net Crawling in 'My Network Places' is enabled in Windows ME."
  11. "DESCRIPTION 2"="Uncheck box to disable Net Crawling if you want to."
  12. "AUTHOR"="Ojatex@aol.com"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="Thanks to CptSiskoX for suggested plugin."
  15.  
  16.  
  17. sP="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\NoNetCrawling"
  18. Sub Plugin_Initialize 
  19.   i=RegReadValue(sP)
  20.   if i<>1 then SetUIElement 1,true
  21. End Sub
  22.  
  23. Sub Plugin_CheckData(ElementIndex)
  24. End Sub
  25.  
  26. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  27.  b=GetUIElement(1)
  28.  if b=true then
  29.     Call RegWriteValue(sP,"0",2)
  30.  else
  31.     Call RegWriteValue(sP,"1",2)
  32.  end if
  33. End Sub
  34.  
  35. Sub Plugin_Terminate 
  36. End Sub
  37.  
  38.  
  39.  
  40.